package com.example.justbuy.mapper;

import com.example.justbuy.pojo.Image;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface ImageMapper {
    public int save(HashMap map);/*保存营业执照图片到数据库*/
    int saveEval(HashMap map);
    int getImageIdByImagePath(String path);
    int updateGoods(Map map);
    List<HashMap> getOrderformByPhone(Map map);
    List<HashMap> getOrderformByOrderformid(Map map);
    int updateGoodsId(Map map);
}
